package com.example.zzh.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 多单位表
 * </p>
 *
 * @author zzh
 * @since 2023-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ZzhProductUnit对象", description="多单位表")
public class ZzhProductUnit implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "名称，支持多单位")
    private String name;

    @ApiModelProperty(value = "基础单位")
    private String basicUnit;

    @ApiModelProperty(value = "副单位")
    private String otherUnit;

    @ApiModelProperty(value = "副单位2")
    private String otherUnitTwo;

    @ApiModelProperty(value = "比例")
    private BigDecimal ratio;

    @ApiModelProperty(value = "比例2")
    private BigDecimal ratioTwo;

    @ApiModelProperty(value = "0删除，1启用，2禁用")
    private Integer status;


}
